home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _74A082194AE4457AAE8A233D030F8FFC < prev    next >
Extensible Markup Language  |  2008-06-28  |  4KB  |  124 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output 
  9.   method="html" 
  10.   version="4.0" 
  11.   encoding="UTF-8" 
  12.   omit-xml-declaration="yes" 
  13.   indent="yes"/>
  14.  
  15. <xsl:include href="./resource/html/propcell.xsl"/>
  16.  
  17. <xsl:template match="/Root">
  18.  
  19. <html>
  20.   <table border="0">
  21.     <tr>
  22.       <!-- Diagram image -->
  23.       <!--
  24.       <td>
  25.         <img src="EE4E9A07-A28D-4fd2-BEAF-9B751D52DCE9" align="left"/>
  26.       </td>
  27.       -->
  28.       <!-- Object header -->
  29.       <td width="100%" valign="middle">
  30.         <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  31.       </td>
  32.     </tr>
  33.     <tr>
  34.       <td>
  35.         <hr/>
  36.       </td>
  37.     </tr>
  38.     <tr>
  39.       <!-- properties list -->
  40.       <td width="100%">
  41.         <table border="0" cellspacing="0" cellpadding="0">
  42.           <xsl:call-template name="PropCell">
  43.             <xsl:with-param name="PropName" select="string('PROPID_HDM_DISKNAME')"/>
  44.           </xsl:call-template>
  45.           
  46.           <xsl:call-template name="PropCell">
  47.         <xsl:with-param name="PropName" select="string('PROPID_HDM_VOLUMELABEL')"/>
  48.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  49.       </xsl:call-template>
  50.           
  51.           <xsl:call-template name="PropCell">
  52.             <xsl:with-param name="PropName" select="string('PROPID_HDM_TYPESTRING')"/>
  53.           </xsl:call-template>
  54.  
  55.           <xsl:call-template name="PropCell">
  56.             <xsl:with-param name="PropName" select="string('PROPID_HDM_FSNAME')"/>
  57.           </xsl:call-template>
  58.  
  59.           <xsl:call-template name="PropCell">
  60.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ROOTSIZE')"/>
  61.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  62.           </xsl:call-template>
  63.  
  64.           <xsl:call-template name="PropCell">
  65.             <xsl:with-param name="PropName" select="string('PROPID_HDM_BOOTSIZE')"/>
  66.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  67.           </xsl:call-template>
  68.  
  69.           <xsl:call-template name="PropCell">
  70.             <xsl:with-param name="PropName" select="string('PROPID_HDM_CLUSTERSIZE')"/>
  71.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  72.           </xsl:call-template>
  73. <!--
  74.         </table>
  75.       </td>
  76.  
  77.       <td>
  78.         <table border="1" cellspacing="0" cellpadding="0">
  79. -->        
  80.           <xsl:call-template name="PropCell">
  81.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SERIALNUMBER')"/>
  82.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  83.           </xsl:call-template>
  84.  
  85.           <xsl:call-template name="PropCell">
  86.             <xsl:with-param name="PropName" select="string('PROPID_HDM_PARTITIONIDSTRING')"/>
  87.           </xsl:call-template>
  88.  
  89.           <xsl:call-template name="PropCell">
  90.             <xsl:with-param name="PropName" select="string('PROPID_HDM_NTFSVERSIONSTRING')"/>
  91.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  92.           </xsl:call-template>
  93.  
  94.           <xsl:call-template name="PropCell">
  95.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
  96.           </xsl:call-template>
  97.  
  98.           <xsl:call-template name="PropCell">
  99.             <xsl:with-param name="PropName" select="string('PROPID_HDM_DATASIZESTRING')"/>
  100.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  101.           </xsl:call-template>
  102.  
  103.           <xsl:call-template name="PropCell">
  104.             <xsl:with-param name="PropName" select="string('PROPID_HDM_FREESIZESTRING')"/>
  105.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  106.           </xsl:call-template>
  107.           
  108.           <xsl:call-template name="PropCell">
  109.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTBOOTABLESTR')"/>
  110.           </xsl:call-template>
  111.  
  112.           <xsl:call-template name="PropCell">
  113.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTHIDDENSTR')"/>
  114.           </xsl:call-template>
  115.         </table>
  116.       </td>
  117.     </tr>
  118.   </table>
  119.   
  120. </html>  
  121. </xsl:template>
  122.  
  123. </xsl:stylesheet>
  124.